package com.lyz.myself.service.ServiceImpl;

import com.lyz.myself.mapper.LeadsDataMapper;
import com.lyz.myself.pojo.Po.LeadsData;
import com.lyz.myself.service.LeadsDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: myself
 * @Date: 2019/2/16 11:22
 * @Author: Mr.Deng
 * @Description:
 */
@Service
public class LeadsDataServiceImpl implements LeadsDataService {

    @Autowired
    LeadsDataMapper leadsDataMapper;

    @Override
    public int insert(LeadsData record){
        return leadsDataMapper.insert(record);
    }

    @Override
    public  /**
     *修改信息
     * @mbg.generated 2019-02-16
     */
    int updateByPrimaryKeySelective(LeadsData record){
        return leadsDataMapper.updateByPrimaryKeySelective(record);
    }
}
